package com.gs.gms.dao;

import java.io.Serializable;

import com.gs.gms.common.exceptions.GmsDataAccessException;

public interface BaseDao<T, I extends Serializable> {

	T getById(I id) throws GmsDataAccessException ;
	T save(T entity) throws GmsDataAccessException ;
	T update(T entity) throws GmsDataAccessException ;
	T saveOrUpdate(T entity) throws GmsDataAccessException ;
}


